﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Web.Mvc;

namespace SportsStore.Domain.Entities
{
    
    public partial class Document
    {
        
    }


    class DocumentMetadataSource
    {
        [HiddenInput(DisplayValue = false)]
        public int Id { get; set; }

        public string Category { get; set; }

        [HiddenInput(DisplayValue = false)]
        public string Name { get; set; }

        public byte[] DocumentData { get; set; }

        [HiddenInput(DisplayValue = false)]
        public string DocumentMimeType { get; set; }

        [HiddenInput(DisplayValue = false)]
        public DateTime Date { get; set; }

       

        //public Product Product { get; set; }
        [HiddenInput(DisplayValue = false)]
        public int ProductId { get; set; }
    }
}
